package cn.iocoder.yudao.module.book.controller.app.protocolAndmethod.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 协议新增/修改 Request VO")
@Data
public class AppProtocolSaveReqVO {

    @Schema(description = "协议Id", requiredMode = Schema.RequiredMode.REQUIRED, example = "14129")
    private Integer protocolId;

    @Schema(description = "内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "内容不能为空")
    private String content;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

}